identify the lower version of the database, such as 11g DBV access to 9i database, but the lower version of DBV access to the high version will be reported as follows error:
dbverify-authentication is starting: FILE =e:/oracle/oradata/dave/test01.dbf
Import Page 1-may be media corrupted
More Wonderful content: http://www.bianceng.cn/database/
1 Definition
Oracle Bad blocks can be divided into physical and logical Bad blocks. The damaged block information is similar:ORA-01578: Oracle data block upted (file #6, block #11)ORA-01110: data file 6: '/u01/APP/Oracle/oradata/orcl/tbs01.dbf'The main purpose of the dbverify tool is to check the physical structure of data files and control files, including whet
DBV (dbverify) is a command-line tool provided by Oracle that can check both physical and logical consistency of data files. However, this tool does not check the matching relationship of index records and data records, which must use the Analyze Validate structure command.The work has the following characteristics:
Opens the data file in a read-only manner and does not modify the contents of the d
DBV indicates that database verify can be used to verify whether a data file in the database is faulty. You can check whether a data file contains bad data blocks, for example:DBV file = D:/oradata/demo. DBF blocksize = 8192
Enter BDV in command line mode and the following information is displayed:
Copyright (c) 1982,200 5, Oracle. All rights reserved.
Keyword description (default)--------------------------
Mysql database version control dbv, mysql database version dbv
Version Control software includes svn git and so on. These tools control the source code version very well, but what about database version control? The traditional method is to export the entire database, so the efficiency of team collaboration is very low. Is there a tool that can easily synchronize the database structure? Yes, there are also
,b.name2 from dba_extents A,v$datafile b3 where a.file_id=b.file# and a.owner= ' SCOTT ' and a.segment_name= ' TEST ';file_id block_id BLOCKS NAME---------- ---------- ---------- ---------------------------------------------4 520 8/U01/APP/ORACLE/ORADATA/ORCL/USERS01.DBF---The block where the record in the table is found[Email protected]>select distinct dbms_rowid.rowid_block_number (ROWID) from Scott.test;Dbms_rowid. Rowid_block_number (ROWID)-------
How to detect and resolve damage to the DataFile OS header (Block Zero)-ORA-27047 DBV-107 ora-1157/ora-27048From:How to Detect and Fix a corruption in the datafile OS header/block zero-ora-27047 DBV-107 ora-1157/ora-27048 (document ID 3600 32.1)Suitable for:Oracle database-enterprise edition-version 8.0.5.0 to 12.1.0.2 [Release 8.0.5 to 12.1]Information in this document applies to any platform.Checked for r
Tags: database version control DBV MySQL PHPVersion control software has svn git and so on, these tools control the source version is very useful, but the database version control it? The traditional approach is to export the entire database, so that team collaboration is very inefficient. Is there a tool that can easily synchronize the database structure? Some, also many, I use DBV, can integrate into Php+
Tags: dbvWhen the SQL statement under revisions has an exception, such as deleting a nonexistent column, the foreground does not respond. In fact, there is a reaction, but the returned data is not JSON data, cannot be parsed by the front end, modify the public function query for the pdo.php file ($sql)Public Function query ($sql){return $this->_connection->query ($sql);}Modified to:Public Function query ($sql){try{return $this->_connection->query ($sql);}catch (Exception $e) {throw new Dbv_excep
When an SQL statement under revisions has an exception, such as deleting a column that does not exist, the foreground does not respond. In fact, there is a response, but the returned data is not JSON data and cannot be parsed by the front-end.
Bad blocksSQL> select * from v $ database_block_corruption;
No rows selected
No logical Bad blocks are found. I/O error is returned when I think the database is a good database and the Physical Bad blocks are guessed.
Check the number of data blocks in File 71SQL> select bytes/8192 from v $ datafile where file # = 71;
BYTES/8192----------1280000Verify whether the bare device can read$ Dbv file =/dev/rdata_03 blocksize = 8192
DBVERIFY: Release 10.2.0.
The dbverify tool is used to verify the physical structure of the data file.
The main purpose of the dbverify tool is to check the physical structure of the data file, including whether the data file is damaged, whether there are logical Bad blocks, and what types of data contained in the data file.
The dbverify tool can verify online or offline data files. Data files can be accessed regardless of whether the database is opened or not. An example of the simplest way to access a data file:
E:
; create table test. t1 as select * from dba_objects;
The table has been created.
SQL> select header_file, header_block from dba_segments where segment_name = 'T1 'and owner = 'test ';
HEADER_FILE HEADER_BLOCK-----------------------10 1445
Modify the value of db_block_checksum to true to close the database. Use ultraedit to modify the check sum (a random number> 0) and flag = 0 × 04 of file 10. Then open the database. Then execute the following query:
SQL> select count (*) from test. T1;Se
test:
SQL> create table test. t1 as select * from dba_objects;
The table has been created.
SQL> select header_file, header_block from dba_segments where segment_name = 'T1 'and owner = 'test ';
HEADER_FILE HEADER_BLOCK-----------------------10 1445
Modify the value of db_block_checksum to TRUE to close the database. Use ultraedit to modify the check sum (a random number> 0) and flag = 0 × 04 of file 10. Then open the database. Then execute the following query:
SQL> select count (*) from
Use dbv and rmanblockrecover to repair bad Oracle Database blocks.
Use dbv and rman blockrecover to repair bad Oracle Database blocks.
Use dbv and rman blockrecover to repair bad Oracle Database blocks.
(1) alert. log reports
DBV application. Using the dBV method is much like EM, and avoids the chance of errors.The method of calling dBV, first of all, is to start emctl. The Https://ip:1158/dva is then called. The port number and EM are the same.First, pre-installed (this component is checked when installing the database)Use the address below and log in with the user name you set when
or configuration errorDUL:Warning:Check db_block_size and/or osd_file_leader_size and/or file offsetDUL:Error:File number can only is zero for single tablespace datafilesDUL:Warning:Cannot Verify file Number for/app/oracle/oradata/freetouch/drp_200200DUL:Warning:First four bytes (162 0 0) of Block 2 are not the start of a proper data block headerDUL:Warning:Block corruption or configuration errorDUL:Warning:Check db_block_size and/or osd_file_leader_
priority, this can be done through advanced options of the system control panel.
In UNIX, the shared memory and semaphore settings usually need to be changed through/etc/system. This is not necessary on Windows 2000 and is not easy to change.
Oracle Performance Monitor for Windows is a pre-loaded Oracle8i Database Performance Component of Windows 2000 Performance Monitor. If you don't see these things, try this command to change the performance monit
the database open, then in fact, through bbed modify the block ITL information, marking transactions for submission, while modifying lck and other information can be.As I checked the main business data sheet space file through DBV, I found hundreds of bad blocks, and dBV stopped after detecting a certain location, which could be a problem with physical bad, as follows:
D:\
Tags: Oracle bad blockThe occurrence of bad blocks is rare, but the production system occasionally appears. If there is a physical backup, the processing is relatively simple, directly block-level recover can be, but if only a logical backup? There are four kinds of cases to deal with, and here's a summary:One, the data part of the block is broken, when the SQL execution scan to this block will be reported ORA-01578:ERROR at line 1:Ora-01578:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.